<?php if( ! defined('ABSPATH')) exit('restricted access');?>

<?php include('tabs.php');?>

<div id="wpnukes_wrap">
<?php include(FW_ADMIN_SKIN.'shared/header.php');?>
<section class="container" id="contents-area">
	<?php echo $side_links;?>
	<div class="row-fluid show-grid">
        <div class="span9 offset3">
			<div class="row-fluid">
				<div class="span12">
					<form method="post" id="fw_form" action="<?php echo $_SERVER['REQUEST_URI'];?>" class="form-horizontal">
                    <div class="heading">
                    	<?php echo slugtotext($name);?>
                        <ul class="setting-links pull-right">
                        	<li><a href="#" class="fw_submit preventDefault">Save</a> </li>
                            <li><a href="<?php echo $_SERVER['REQUEST_URI'];?>">Cancel</a></li>
                        </ul>
                    </div>
					<div class="contents">
						<!-- javascript support error -->
						<!--<noscript><?php //fw_message('The javascript is disabled, please enable it to work the admin panel properly.', 'error', false, );?></noscript>-->
						<div class="system_msg"><?php $this->_webnukes->msg->display();?></div>
						<section id="theme_settings">
							<?php if(isset($html)):?>
								<?php echo read_settings($html, $tabs, $titles);?>
							<?php endif;?>
                        </section>
                        <!-- Section ends -->
					</div>
                    <div class="control-group">
                        <div class="controls align-right">
                            <a href="#" class="btn fw_submit preventDefault">Save</a>
                            <a href="<?php echo $_SERVER['REQUEST_URI'];?>" class="btn">Cancel</a>
                        <?php /*
                            echo form_input(array('type'=>'submit','value'=>'save','class'=>'btn','id'=>'fw_submit'));
                            echo form_input(array('type'=>'reset','value'=>'cancel','class'=>'btn','id'=>'fw_submit')); */?>
                        </div>
                    </div>
					</form>
                </div>
            </div>
		</div>
	</div>
</section>
</div>